﻿using BLL;
using Model;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using System.Web.UI;
using System.Web.UI.WebControls;

namespace APPMsgPush
{
    public partial class test2 : System.Web.UI.Page
    {
        protected void Page_Load(object sender, EventArgs e)
        {

        }

        protected void btnTest_Click(object sender, EventArgs e)
        {
            Device model = new Device();
            model.Mid = Convert.ToInt32(Mid.Text);
            model.Devicetoken = Device.Text;
            model.Status = false;
            model.Type = 2;
            model.Count = 0;
            DeviceBLL.CurrBll.Add(model);
        }
    }
}